import requests

s={"keywords":"戒指"}
r=requests.get("http://192.168.124.143/search.php",params=s)

print(r,type(r))
print(r.raw)
print(r.text)
print(r.status_code)
print(r.request.method)

# 以字节为单位响应
print(r.content)
# 编码方式
print(r.apparent_encoding)
print(r.encoding)
# 返回响应头
print(r.headers)

